ComponentOne ASP.NET MVC Controls
CssStyle Method

C1.Web.Mvc.Fluent Namespace > ControlBuilder<TControl,TBuilder> Class : CssStyle Method
The key of the CSS property
The value of the CSS property
Configurates C1.Web.Mvc.Control.CssStyles. Sets the CSS style applied in the control.
Syntax
'Declaration
 
Public Function CssStyle( _
   ByVal key As String, _
   ByVal value As String _
) As TBuilder
public TBuilder CssStyle( 
   string key,
   string value
)

Parameters

key
The key of the CSS property
value
The value of the CSS property

Return Value

Current builder
See Also

Reference

ControlBuilder<TControl,TBuilder> Class
ControlBuilder<TControl,TBuilder> Members